<?php /* Smarty version Smarty-3.1.6, created on 2017-02-14 23:05:43
         compiled from "F:/cly/Show/Admin/View\Auth\showlist.html" */ ?>
<?php /*%%SmartyHeaderCode:15837589f3b10771723-00034267%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a6582f7ce293fb43ab699137d500dbe361a7c0c1' => 
    array (
      0 => 'F:/cly/Show/Admin/View\\Auth\\showlist.html',
      1 => 1487084740,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15837589f3b10771723-00034267',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_589f3b1087b55',
  'variables' => 
  array (
    'flist' => 0,
    'zlist' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_589f3b1087b55')) {function content_589f3b1087b55($_smarty_tpl) {?><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link href="/Show/Admin/Public/css/news.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/Show/Admin/Public/js/jqselect.js"></script>
    <script type="text/javascript" src="/Show/Admin/Public/js/jquery-3.1.1.min.js"></script>
    <title>权限列表</title>
  </head>
  <body>
    <form action="<?php echo @__CONTROLLER__;?>
/delete" method="post">
    <div class="mainbox">
          <div class="tablebox">            
            <table class="table" >
              <tr class="one">
                <td>
                <input type="checkbox" id="selectAll">
                </td>
                <td>ID</td>
                <td>权限名称</td>
                <td>控制器</td>
                <td>操作方法</td>
                <td>状态</td>
                <td>操作</td>
              </tr>
             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['f'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['f']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['name'] = 'f';
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['flist']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['f']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['f']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['f']['total']);
?>
              <tr>
                <td><input type="checkbox" name="auth_id[]" value="<?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_id'];?>
"></td>               
                <td><?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_id'];?>
</td>
                <td><strong><?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_name'];?>
</strong></td>
                <td><?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_c'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_a'];?>
</td>
                <td><?php if ($_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_state']==0){?>不可见<?php }else{ ?>可见<?php }?></td>
                <td>
                    <a href="#" onclick="if(confirm('确定删除？'))location.href='<?php echo @__CONTROLLER__;?>
/delete/auth_id/<?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_id'];?>
';"><img src="/Show/Admin/Public/image/del.jpg" class="pit" title="删除"></a>
                    <a href="#" onclick="location.href='<?php echo @__CONTROLLER__;?>
/xiugai/auth_id/<?php echo $_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_id'];?>
'" ><img src="/Show/Admin/Public/image/edi.jpg" class="pit" title="编辑"></a>     
                </td>
              </tr>
              <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['z'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['z']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['name'] = 'z';
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['zlist']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['z']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['z']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['z']['total']);
?>
                <?php if ($_smarty_tpl->tpl_vars['flist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['f']['index']]['auth_id']==$_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_pid']){?>
                <tr>
                    <td><input type="checkbox" name="id[]" value="<?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_id'];?>
"></td>               
                    <td><?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_id'];?>
</td>
                    <td><?php echo preg_replace('!^!m',str_repeat("--/",$_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_level']),$_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_name']);?>
</td>
                    <td><?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_c'];?>
</td>
                    <td><?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_a'];?>
</td>
                    <td><?php if ($_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_state']==0){?>不可见<?php }else{ ?>可见<?php }?></td>
                    <td>
                        <a href="#" onclick="if(confirm('确定删除？'))location.href='<?php echo @__CONTROLLER__;?>
/delete/auth_id/<?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_id'];?>
';"><img src="/Show/Admin/Public/image/del.jpg" class="pit" title="删除"></a>
                        <a href="#" onclick="location.href='<?php echo @__CONTROLLER__;?>
/xiugai/auth_id/<?php echo $_smarty_tpl->tpl_vars['zlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['z']['index']]['auth_id'];?>
'" ><img src="/Show/Admin/Public/image/edi.jpg" class="pit" title="编辑"></a>     
                    </td>
                </tr>
                <?php }?>
              <?php endfor; endif; ?>
             <?php endfor; endif; ?>
            </table>          
          </div>
          <div class="ope">
            <input type="submit" name="del" value="删除">
          </div>
          <div class="page">
           <?php echo $_smarty_tpl->tpl_vars['page']->value;?>

          </div>
    </div>
    </form>
  </body>
</html><?php }} ?>